/*
 * Copyright (C), 2002-2018, Caljm有限公司
 * FileName: Application
 * Author:   Byron Wang
 * Date:     2018/11/23 下午11:29
 * Description: //模块目的、功能描述
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */

package com.cpcs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述：启动类
 *
 * @author Byron Wang
 * @since 2018/11/23
 */
@RestController
@SpringBootApplication
public class MainApplication {

    @GetMapping("/getName.do")
    public String getName() {
        System.out.println("devtools test");
        System.out.println("devtools test");
        return "Byron Wangss";
    }

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class, args);
    }
}
